package com.example.practice.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * TODO
 *
 * @author zgq
 * @date 2020/10/14 18:10
 */
@Data
@Accessors(chain = true)
@TableName("user_info")
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    @TableId(type = IdType.INPUT)
    private Integer id;
    private String name;
    private String gender;
    private Integer age;
}
